#include <stdio.h>
//
// Created by hi on 25-5-24.
//
/*
 * 多级指针
 */
#include <stdlib.h>
void changePointer(int **p) {
    //解构出一级指针并开辟内存
    *p = (int *)malloc(sizeof(int));
    //赋初始值
    **p = 0;
};
int main() {
  int *p = NULL;
    //传递指针的指针
    changePointer(&p);
    printf("%d\n", *p);
}